package com.multi.thread.chapter03.demo04;

public class ThreadTest extends Thread {
	
	private Object lock;

	public ThreadTest(Object lock) {
		super();
		this.lock = lock;
	}
	
	@Override
	public void run() {
		Service service = new Service();
		service.testMethod(lock);
	}

}
